Re: [INTERFACES] Re: Index unused with OR? - Mailing list pgsql-interfaces

From Herouth Maoz
Subject Re: [INTERFACES] Re: Index unused with OR?
Date
Msg-id l03110703b18474572af0@[147.233.159.109]
Whole thread Raw
In response to Re: Index unused with OR?  ("Olaf Mittelstaedt" <mstaedt@va-sigi.va.fh-ulm.de>)
List pgsql-interfaces
At 17:59 +0300 on 14/5/98, Olaf Mittelstaedt wrote:


>
> w=> vacuum;
> VACUUM
> w=> explain select * from p where m = 29000;
> NOTICE:  QUERY PLAN:
>
> Index Scan on p  (cost=0.00 size=0 width=10)

Unrelated to the question in hand - you complained about VACUUM not
properly updating the stats. It seems to me you should use VACUUM ANALYZE
for that to happen. Just vacuuming means elimination of old rows no longer
used.

Herouth



pgsql-interfaces by date:

Previous
From: Byron Nikolaidis
Date:
Subject: NEW ODBC DRIVER v.0241
Next
From: Herouth Maoz
Date:
Subject: Re: [INTERFACES] binary insert with JDBC